package com.topscore.uke.mvp.contractors;

import com.topscore.uke.entities.MemberEntity;
import com.topscore.uke.mvp.BaseContractor;
import com.topscore.uke.mvp.model.BaseHttpListener;
import com.topscore.uke.mvp.views.BaseView;
import com.topscore.uke.network.retrofit.ApiService;
import com.topscore.uke.network.retrofit.NetClient;

import java.util.List;

/**
 * Created by 71468 on 2017/11/8.
 */

public interface GetMemberListContractor extends BaseContractor {
    ApiService mService = NetClient.getInstance().net().create(ApiService.class);
    interface Model{
        void getList(String userId,String role);
    }

    interface View extends BaseView{
        void onGetMemberListSuccess(List<MemberEntity> memberList);
    }

    interface Presenter{
        void getMemberList();
    }

    interface CallBack extends BaseHttpListener{
        void onGetListSuccess(List<MemberEntity> list);
    }
}
